{% extends 'my_center_base.html' %}
<title>{% block title %}-修改密码{% endblock %}</title>

{% block js_css %}
<link rel="stylesheet" type="text/css" href="/static/css/mygrxx.css" />
{% endblock %}

{% block idea %}
		<!------------------------------idea------------------------------>
		<div class="address mt">
			<div class="wrapper clearfix">
				<a href="/" class="fl">首页</a>
				<span>/</span>
				<a href="{{ url("users:my_center") }}" class="on">个人信息</a>
			</div>
		</div>
{% endblock %}
		<!------------------------------Bott------------------------------>
{% block li %}
	<div>
						<h4>我的交易</h4>
						<ul>
							<li><a href="{{ url('shoppingcart:carts')}}">我的购物车</a></li>
							<li><a href="{{ url('users:myorderq',kwargs={"page_num":1}) }}">我的订单</a></li>

						</ul>
						<h4>个人中心</h4>
						<ul>
							<li><a href="{{ url('users:my_center')}}">我的中心</a></li>
							<li><a href="{{ url('users:address')}}">地址管理</a></li>
						</ul>
						<h4>账户管理</h4>
						<ul>
							<li><a href="{{ url('users:my_mygrxx')}}">个人信息</a></li>
							<li class="on"><a href="{{ url('users:password')}}">修改密码</a></li>
						</ul>
	</div>
{% endblock %}

{% block bott %}
		<div class="you fl">
					<h2>修改密码</h2>
					<form action="#" method="post" class="remima">
{#						<p><span>选择验证身份方式：</span><input type="checkbox" />密码验证  <input type="checkbox" />邮箱验证 </p>#}
						<p><span>原密码：</span><input name="old_password" type="password" style="border:none;  border-bottom: 1px solid #000; width: 180px"  /></p>
						<p class="op">输入原密码</p>
                        <br>
						<p><span>新密码：</span><input name="password1" type="password" style="border:none;  border-bottom: 1px solid #000; width: 180px"  /></p>
						<p class="op">新密码必须8-16 个字符</p>
						<br>
                        <p><span>重复新密码：</span><input name="password2" type="password" style="border:none;  border-bottom: 1px solid #000; width: 180px"  /></p>
						<p class="op">请再次输入密码</p>
						<br>

                        <input type="submit" value="提交" />
					</form>
				</div>
{% endblock %}
		

{% block script %}
    {% if messages %}
        <script>
        {% for msg in messages %}
            alert('{{ msg.message }}');
        {% endfor %}
        </script>
    {% endif %}
{% endblock %}
<script type="text/javascript">
    let username = "{{ username }}";
    let user_image = "{{ user_image }}";
    {#let email = "{{ email }}";#}
    {#let email_active = "{{ email_active }}";#}
</script>